package com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.Company;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.type.JdbcType;

import java.util.List;

public interface CompanyService {

    PageInfo<Company> queryPage(Integer pageNum, Integer pageSize)throws Exception;

    List<Company> findAll()throws Exception;

    Company findById(String id)throws Exception;

    void save(Company company)throws Exception;

    void deleteById(String... ids)throws Exception;

    void update(Company company)throws Exception;
}
